package com.itheima.domain;

import java.util.Date;

public class Book {
    private Integer id;

    private String name;

    private String isbn;

    private String press;

    private String author;

    private Integer pagination;

    private Double price;

    private Date uploadtime;

    private String status;

    private String borrower;

    private Date borrowTime;

    private Date returnTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn == null ? null : isbn.trim();
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press == null ? null : press.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Integer getPagination() {
        return pagination;
    }

    public void setPagination(Integer pagination) {
        this.pagination = pagination;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(Date uploadtime) {
        this.uploadtime = uploadtime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getBorrower() {
        return borrower;
    }

    public void setBorrower(String borrower) {
        this.borrower = borrower == null ? null : borrower.trim();
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    public Book() {
    }

    public Book(Integer id, String name, String isbn, String press, String author, Integer pagination, Double price, Date uploadtime, String status, String borrower, Date borrowTime, Date returnTime) {
        this.id = id;
        this.name = name;
        this.isbn = isbn;
        this.press = press;
        this.author = author;
        this.pagination = pagination;
        this.price = price;
        this.uploadtime = uploadtime;
        this.status = status;
        this.borrower = borrower;
        this.borrowTime = borrowTime;
        this.returnTime = returnTime;
    }
}